/* Reset Django dark theme styles, because we don't support them:
 * https://github.com/django/django/blob/stable/3.2.x/django/contrib/admin/static/admin/css/base.css#L8-L92
 */
@media (prefers-color-scheme: dark) {
    :root {
        --primary: #79aec8;
        --secondary: #417690;
        --accent: #f5dd5d;
        --primary-fg: #fff;

        --body-fg: #333;
        --body-bg: #fff;
        --body-quiet-color: #666;
        --body-loud-color: #000;

        --header-color: #ffc;
        --header-branding-color: var(--accent);
        --header-bg: var(--secondary);
        --header-link-color: var(--primary-fg);

        --breadcrumbs-fg: #c4dce8;
        --breadcrumbs-link-fg: var(--body-bg);
        --breadcrumbs-bg: var(--primary);

        --link-fg: #447e9b;
        --link-hover-color: #036;
        --link-selected-fg: #5b80b2;

        --hairline-color: #e8e8e8;
        --border-color: #ccc;

        --error-fg: #ba2121;

        --message-success-bg: #dfd;
        --message-warning-bg: #ffc;
        --message-error-bg: #ffefef;

        --darkened-bg: #f8f8f8; /* A bit darker than --body-bg */
        --selected-bg: #e4e4e4; /* E.g. selected table cells */
        --selected-row: #ffc;

        --button-fg: #fff;
        --button-bg: var(--primary);
        --button-hover-bg: #609ab6;
        --default-button-bg: var(--secondary);
        --default-button-hover-bg: #205067;
        --close-button-bg: #888; /* Previously #bbb, contrast 1.92 */
        --close-button-hover-bg: #747474;
        --delete-button-bg: #ba2121;
        --delete-button-hover-bg: #a41515;

        --object-tools-fg: var(--button-fg);
        --object-tools-bg: var(--close-button-bg);
        --object-tools-hover-bg: var(--close-button-hover-bg);
    }
}

/* Reset a bunch of base Django admin styles that conflict with wpadmin as of Django 3.2 */

/* Changelist started being implemented with flexbox; reset back to `block` */
#changelist {
    display: block;
    position: relative;
    width: 100%;
}

#changelist-filter {
    margin: 0;
}

#changelist .actions {
    width: unset;
}

.paginator {
    width: unset;
}

div.breadcrumbs {
    font-size: 14px;
}

/* Begin wpadmin styles */

html {
    height: 100%;
    min-width: 360px
}

body {
    font-family: 'Segoe UI', 'Lucida Grande', Arial, sans-serif;
    font-size: 13px;
    line-height: 1.4em;
    height: 100%
}

#wrapper {
    height: auto;
    min-height: 100%;
    margin-top: 34px;
    width: 100%;
    position: relative
}

#container {
    min-width: 0
}

.wp-menu {
    list-style: none outside none;
    margin: 0;
    padding: 0;
    font-size: 14px;
    line-height: 18px
}

.wp-menu * {
    -moz-user-select: none
}

.wp-menu a {
    outline: none;
    display: block;
    -webkit-transition: all .3s ease;
    -moz-transition: all .3s ease;
    -ms-transition: all .3s ease;
    -o-transition: all .3s ease;
    transition: all .3s ease
}

.wp-menu a:hover {
    text-decoration: none !important
}

.wp-menu li {
    cursor: pointer;
    margin: 0;
    padding: 0;
    list-style: none
}

.wp-menu li.wp-no-url > a,
.wp-menu li.wp-no-url > .wp-menu-image a {
    cursor: default
}

.wp-menu .wp-menu-top {
    min-height: 34px;
    position: relative;
    font-size: inherit
}

.wp-menu .wp-menu-top > a {
    font-weight: 400;
    padding: 8px 0;
    line-height: 18px;
    position: relative
}

.wp-menu .wp-menu-top .wp-menu-image {
    float: left;
    height: 34px;
    width: 36px;
    position: relative;
    z-index: 10
}

.wp-menu .wp-menu-top .wp-menu-image a {
    padding: 0;
    line-height: 34px;
    text-align: center;
    font-size: 1.2em
}

.wp-menu .wp-menu-top.wp-has-add-url > a {
    padding-right: 1.5em;
    min-width: 8.5em
}

.wp-menu .wp-menu-top.wp-has-add-url > a.wp-add-url {
    position: absolute;
    right: 0;
    top: 0;
    min-width: 1em;
    padding-right: 5px
}

.wp-menu .wp-menu-top.wp-has-submenu.wp-menu-not-open:hover:after {
    content: "";
    border: 8px solid rgba(0, 0, 0, 0);
    display: block;
    height: 0;
    width: 0;
    position: absolute;
    top: 50%;
    right: 0;
    margin-top: -8px;
    z-index: 10000;
    pointer-events: none
}

.wp-menu .wp-submenu {
    display: none;
    width: 160px;
    padding: 0 8px 8px 0;
    margin: 0;
    position: absolute;
    z-index: 999;
    list-style: none;
    font-size: 13px;
    line-height: 1.2em
}

.wp-menu .wp-submenu .wp-submenu-wrap {
    -webkit-box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.4);
    -moz-box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.4);
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.4);
    position: relative;
    width: 160px
}

.wp-menu .wp-submenu .wp-submenu-wrap .wp-submenu-head {
    display: none;
    font-size: 14px;
    line-height: 18px;
    cursor: default;
    padding: 8px 4px 8px 11px;
    margin-bottom: -4px
}

.wp-menu .wp-submenu .wp-submenu-wrap ul {
    padding: 7px 0 8px;
    margin: 0;
    list-style: none
}

.wp-menu .wp-submenu .wp-submenu-wrap ul li {
    margin: 0;
    padding: 0;
    font-size: inherit;
    position: relative
}

.wp-menu .wp-submenu .wp-submenu-wrap ul li a {
    padding: 6px 12px
}

.wp-menu .wp-submenu .wp-submenu-wrap ul li.wp-has-add-url {
    overflow: hidden
}

.wp-menu .wp-submenu .wp-submenu-wrap ul li.wp-has-add-url > a:first-child {
    width: 110px;
    float: left
}

.wp-menu .wp-submenu .wp-submenu-wrap ul li.wp-has-add-url > a.wp-add-url {
    width: 10px;
    padding-left: 8px;
    padding-right: 8px;
    float: right
}

.wp-menu .wp-submenu .wp-submenu-wrap ul li.wp-has-submenu > a:first-child {
    position: relative
}

.wp-menu .wp-submenu .wp-submenu-wrap ul li.wp-has-submenu > a:first-child:after {
    content: "\f0da";
    display: inline-block;
    font-family: FontAwesome;
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    font-size: 11px;
    position: absolute;
    top: 7px;
    right: 9px;
    opacity: .5
}

.wp-menu .wp-submenu .wp-submenu-wrap ul li.wp-has-submenu:hover > a:first-child:after {
    opacity: 1
}

.wp-menu .wp-submenu .wp-submenu-wrap ul li.wp-current {
    font-weight: 600
}

.wp-menu .wp-submenu .wp-submenu {
    left: 160px !important;
    top: -7px !important
}

.wp-menu .wp-submenu .wp-submenu .wp-submenu-head {
    display: none !important
}

.wp-menu li:hover > .wp-submenu {
    display: block
}

.wp-menu .wp-user-tools img.wp-small-gravatar {
    display: inline-block;
    height: 16px;
    width: 16px;
    padding: 1px;
    margin: 0 auto;
    vertical-align: middle
}

.wp-menu .wp-user-tools .wp-submenu {
    width: 240px
}

.wp-menu .wp-user-tools .wp-submenu .wp-submenu-wrap {
    min-height: 94px;
    padding-left: 80px;
    position: relative
}

.wp-menu .wp-user-tools .wp-submenu .wp-submenu-wrap img.wp-big-gravatar {
    position: absolute;
    left: -65px;
    top: 8px
}

body.wp-with-left-menu #container {
    width: auto;
    margin-left: 160px;
    overflow: hidden
}

#adminmenuback,
#adminmenuwrap {
    width: 160px
}

#adminmenuback {
    position: absolute;
    top: 0;
    bottom: 0;
    z-index: -1
}

#adminmenuwrap {
    float: left;
    position: relative
}

#adminmenu {
    clear: left;
    width: 160px
}

#adminmenu li {
    float: none !important
}

#adminmenu .wp-menu-top > a {
    min-width: 10em
}

#adminmenu .wp-menu-top > a.wp-add-url {
    min-width: unset
}

#adminmenu .wp-submenu {
    top: -1px;
    left: 160px
}

#adminmenu .wp-menu-open > a:after {
    content: "";
    border: 8px solid rgba(0, 0, 0, 0);
    display: block;
    height: 0;
    width: 0;
    position: absolute;
    top: 50%;
    right: 0;
    margin-top: -8px;
    z-index: 10000;
    pointer-events: none
}

#adminmenu .wp-menu-open > .wp-submenu {
    display: block;
    bottom: auto;
    left: auto;
    right: auto;
    top: auto;
    z-index: 2;
    position: relative;
    padding: 0
}

#adminmenu .wp-menu-open > .wp-submenu > .wp-submenu-wrap {
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none
}

#adminmenu .wp-menu-tools {
    font-size: 12px;
    height: 30px;
    min-height: 30px
}

#adminmenu .wp-menu-tools > a {
    line-height: 16px
}

#adminmenu .wp-menu-tools .wp-menu-image {
    height: 30px;
    opacity: .5
}

#adminmenu .wp-menu-tools .wp-menu-image a {
    line-height: 30px
}

#adminmenu .wp-menu-tools:hover .wp-menu-image {
    opacity: 1
}

body.wp-folded #adminmenuback,
body.wp-folded #adminmenuwrap,
body.wp-folded #adminmenu,
body.wp-folded #adminmenu .wp-menu-top {
    width: 36px
}

body.wp-with-left-menu.wp-folded #adminmenu .wp-menu-top > a {
    display: none
}

body.wp-with-left-menu.wp-folded #adminmenu .wp-menu-top.wp-has-submenu.wp-menu-not-open:hover:after {
    border-width: 4px;
    margin-top: -4px
}

body.wp-with-left-menu.wp-folded #adminmenu .wp-submenu {
    position: absolute;
    left: 36px;
    top: 0;
    padding: 0 8px 8px 0;
    z-index: 999
}

body.wp-with-left-menu.wp-folded #adminmenu .wp-submenu .wp-submenu-wrap {
    -webkit-box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.4);
    -moz-box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.4);
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.4)
}

body.wp-with-left-menu.wp-folded #adminmenu .wp-submenu .wp-submenu-wrap .wp-submenu-head {
    display: block
}

body.wp-with-left-menu.wp-folded #adminmenu .wp-menu-open .wp-menu-image a:after {
    content: "";
    border: 4px solid rgba(0, 0, 0, 0);
    display: block;
    height: 0;
    width: 0;
    position: absolute;
    top: 50%;
    right: 0;
    margin-top: -4px;
    z-index: 10000;
    pointer-events: none
}

body.wp-with-left-menu.wp-folded #adminmenu .wp-menu-open .wp-submenu {
    display: none
}

body.wp-with-left-menu.wp-folded #adminmenu .wp-menu-open:hover > .wp-submenu {
    display: block
}

body.wp-with-left-menu.wp-folded #adminmenu .wp-menu-open:hover.wp-has-submenu .wp-menu-image a:after {
    display: none
}

body.wp-with-left-menu.wp-folded #container {
    margin-left: 36px
}

body.wp-pinned #adminmenuwrap {
    position: fixed;
    left: 0;
    top: 34px;
    bottom: 0;
    z-index: 8000
}

body.popup #adminmenuback,
body.popup #adminmenuwrap {
    display: none
}

body.popup #container {
    margin-left: 0 !important;
    width: 100% !important
}

body {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box
}

body.popup {
    padding-top: 0
}

#adminbarwrap {
    height: 34px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 99999;
    overflow: visible;
    width: 100%
}

#adminbarwrap #adminbar {
    float: left;
    width: 100%;
    height: 34px;
    font-size: 13px
}

#adminbarwrap #adminbar .wp-menu-top {
    float: left;
    height: 34px
}

#adminbarwrap #adminbar .wp-menu-top > a {
    float: left;
    padding-right: 10px
}

#adminbarwrap #adminbar .wp-submenu {
    top: 34px;
    left: 0
}

#adminbarwrap #adminbar.wp-narrow .wp-menu-top > a {
    display: none
}

#adminbarwrap #adminbar.wp-narrow .wp-menu-top .wp-submenu-head {
    display: block
}

.clearfix {
    *zoom: 1
}

.clearfix:before,
.clearfix:after {
    display: table;
    content: ""
}

.clearfix:after {
    clear: both
}

#content textarea,
#content input[type="text"],
#content input[type="password"],
#content input[type="email"],
#content input[type="number"],
#content input[type="search"],
#content input[type="tel"],
#content input[type="url"],
#content input[type="file"],
#content select {
    -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.07) inset;
    -moz-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.07) inset;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.07) inset;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
    border-style: solid;
    border-width: 1px;
    padding: 3px 5px;
    margin: 1px;
    line-height: 16px;
    font-size: 13px;
    font-family: inherit;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box
}

#content textarea:focus,
#content input[type="text"]:focus,
#content input[type="password"]:focus,
#content input[type="email"]:focus,
#content input[type="number"]:focus,
#content input[type="search"]:focus,
#content input[type="tel"]:focus,
#content input[type="url"]:focus,
#content input[type="file"]:focus,
#content select:focus {
    -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1)
}

#content select {
    padding: 3px
}

#content input[type="file"] {
    padding: 3px 0;
    border: none;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none
}

#content .form-row p {
    font-family: inherit;
    font-size: 13px;
    margin-bottom: 0;
    margin-top: 0;
    padding-bottom: 0;
    padding-top: 3px
}

#content .form-row p.file-upload,
#content .form-row p.url {
    padding-left: 0;
    margin-left: 0;
    float: left
}

#content .errornote {
    border-width: 0 0 0 4px;
    border-style: solid;
    border-color: #ffc000;
    color: #ffc000;
    -webkit-box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.1);
    box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.1);
    padding: 6px 12px;
    margin: 0 0 8px;
    font-size: 13px !important;
    font-weight: 400;
    background-image: none
}

#content .errorlist li {
    border-width: 0 0 0 4px;
    border-style: solid;
    border-color: #dd3d36;
    color: #dd3d36;
    -webkit-box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.1);
    box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.1);
    padding: 6px 12px;
    margin: 0 0 8px;
    font-size: 13px !important;
    font-weight: 400;
    background-image: none
}

#content .errors .errorlist {
    margin-top: 8px !important
}

#content .errors .errorlist li {
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    border-style: dashed dashed dashed solid;
    border-width: 1px 1px 1px 4px
}

#content .form-row.errors {
    border-color: #fff;
    margin: 0
}

@media screen and (max-width: 850px) {
    #content textarea,
    #content input[type="text"],
    #content input[type="password"],
    #content input[type="email"],
    #content input[type="number"],
    #content input[type="search"],
    #content input[type="tel"],
    #content input[type="url"],
    #content input[type="file"],
    #content select {
        max-width: 530px
    }

}

@media screen and (max-width: 780px) {
    #content textarea,
    #content input[type="text"],
    #content input[type="password"],
    #content input[type="email"],
    #content input[type="number"],
    #content input[type="search"],
    #content input[type="tel"],
    #content input[type="url"],
    #content input[type="file"],
    #content select {
        max-width: 390px
    }

}

@media screen and (max-width: 500px) {
    #content textarea,
    #content input[type="text"],
    #content input[type="password"],
    #content input[type="email"],
    #content input[type="number"],
    #content input[type="search"],
    #content input[type="tel"],
    #content input[type="url"],
    #content input[type="file"],
    #content select {
        max-width: 260px
    }

}

#content .button,
#content input[type="submit"],
#content input[type="button"],
#content button[type="submit"],
#content .submit-row input {
    -webkit-box-shadow: 0 1px 0 rgba(255, 255, 255, 0.3) inset, 0 1px 0 rgba(0, 0, 0, 0.08);
    -moz-box-shadow: 0 1px 0 rgba(255, 255, 255, 0.3) inset, 0 1px 0 rgba(0, 0, 0, 0.08);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.3) inset, 0 1px 0 rgba(0, 0, 0, 0.08);
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
    border-style: solid;
    border-width: 1px;
    cursor: pointer;
    display: inline-block;
    font-size: 13px;
    height: 28px;
    line-height: 26px;
    margin: 0;
    padding: 0 10px 1px;
    text-decoration: none;
    white-space: nowrap;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;
    vertical-align: top;
    background-image: none
}

#content .button.default,
#content input.default[type="submit"],
#content input.default[type="button"],
#content button.default[type="submit"],
#content .submit-row input.default {
    float: none;
    font-weight: bold
}

#content .datetimeshortcuts {
    font-size: 12px
}

#content .datetimeshortcuts a:last-child {
    display: inline-block;
    font-family: FontAwesome;
    font-style: normal;
    font-weight: normal;
    line-height: 1
}

#content .datetimeshortcuts a:last-child img {
    display: none
}

#content .datetimeshortcuts a:last-child:after {
    font-size: 14px;
    position: relative;
    top: 1px
}

#content .datetime {
    min-width: 260px;
    float: left;
    margin: 0;
    padding: 0;
    font-weight: 400
}

#content .datetime .vTimeField {
    margin-top: 3px
}

#content .selector {
    width: auto;
    max-width: 552px
}

#content .selector .selector-available,
#content .selector .selector-chosen {
    width: 260px
}

#content .selector .selector-available h2,
#content .selector .selector-chosen h2 {
    border: none;
    padding-left: 0;
    padding-right: 0
}

#content .selector .selector-available select,
#content .selector .selector-chosen select {
    margin: 0;
    padding: 0;
    width: 258px;
    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
    -ms-box-sizing: content-box;
    box-sizing: content-box
}

#content .selector .selector-available select:focus,
#content .selector .selector-chosen select:focus {
    -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.07) inset;
    -moz-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.07) inset;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.07) inset
}

#content .selector .selector-available .selector-filter,
#content .selector .selector-chosen .selector-filter {
    border-style: solid;
    border-width: 1px 1px 0 1px;
    padding: 3px
}

#content .selector .selector-available .selector-filter label,
#content .selector .selector-chosen .selector-filter label {
    width: 16px;
    padding: 4px 7px 4px 6px
}

#content .selector .selector-available .selector-filter input,
#content .selector .selector-chosen .selector-filter input {
    width: 220px
}

#content .selector ul.selector-chooser {
    background: none;
    height: 220px
}

#content .selector ul.selector-chooser .selector-add,
#content .selector ul.selector-chooser .selector-remove {
    text-indent: 0;
    background: none;
    font-size: 0;
    line-height: 0;
    opacity: .5
}

#content .selector ul.selector-chooser .selector-add.active,
#content .selector ul.selector-chooser .selector-remove.active {
    opacity: 1
}

#content .selector ul.selector-chooser .selector-add:after,
#content .selector ul.selector-chooser .selector-remove:after {
    display: inline-block;
    width: 16px;
    height: 16px;
    text-align: center;
    font-size: 20px;
    font-family: FontAwesome;
    line-height: 16px;
    font-weight: bold
}

#content .selector ul.selector-chooser .selector-add:after {
    content: "\f105"
}

#content .selector ul.selector-chooser .selector-remove:after {
    content: "\f104"
}

#content .selector a.selector-chooseall,
#content .selector a.selector-clearall {
    background: none;
    padding-right: 0;
    padding-left: 0;
    opacity: .5;
    font-size: 12px
}

#content .selector a.selector-chooseall:after,
#content .selector a.selector-clearall:after,
#content .selector a.selector-chooseall:before,
#content .selector a.selector-clearall:before {
    display: inline-block;
    font-family: FontAwesome;
    font-size: 16px;
    font-weight: 400;
    position: relative;
    top: 1px;
    margin-left: .4em;
    margin-right: .4em
}

#content .selector a.selector-chooseall.active,
#content .selector a.selector-clearall.active {
    opacity: 1
}

#content .selector a.selector-chooseall:after {
    content: "\f101"
}

#content .selector a.selector-clearall:before {
    content: "\f100"
}

#content .selector.stacked {
    max-width: 260px
}

#content .selector.stacked .selector-chooser {
    height: 22px;
    margin-top: 10px
}

#content .selector.stacked .selector-chooser .selector-add:after {
    content: "\f107"
}

#content .selector.stacked .selector-chooser .selector-remove:after {
    content: "\f106"
}

.calendarbox,
.clockbox {
    border-width: 5px;
    border-style: solid;
    -webkit-box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.4);
    -moz-box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.4);
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.4)
}

.calendarbox caption,
.clockbox caption,
.calendarbox h2,
.clockbox h2 {
    font-size: 13px;
    padding: 1px 20px 5px;
    text-align: center;
    background: white !important;
}

.calendarbox .calendar-cancel,
.clockbox .calendar-cancel {
    border: none;
    font-size: 12px
}

.calendarbox .calendar-cancel a,
.clockbox .calendar-cancel a {
    padding: 2px
}

.calendarbox .calendarnav-previous,
.calendarbox .calendarnav-next {
    padding: 0;
    text-align: center;
    width: 19px;
    height: 19px;
    line-height: 19px;
    font-size: 18px;
    background: none
}

.calendarbox .calendar th {
    font-family: inherit;
    font-size: 12px;
    line-height: 15px;
    background: none;
    font-weight: 400
}

.calendarbox .calendar td {
    border-style: dashed;
    border-width: 1px 0 0 1px;
    font-family: inherit;
    font-size: 13px;
    line-height: 15px
}

.calendarbox .calendar td:first-child {
    border-left: 0
}

.calendarbox .calendar-shortcuts {
    font-size: 12px;
    line-height: 15px
}

.clockbox .timelist li {
    font-size: 12px;
    line-height: 18px;
    border-style: dashed;
    border-width: 1px 0 0
}

.clockbox .timelist li:first-child {
    border-top: none
}

@media screen and (max-width: 669px) {
    #content .selector ul.selector-chooser {
        margin-top: 0;
        margin-bottom: 5px;
        height: 50px;
        width: 290px
    }

}

@media screen and (max-width: 517px) {
    #content .datetime {
        margin-top: 5px
    }

}

@media screen and (max-width: 500px) {
    #content .selector ul.selector-chooser {
        width: 250px
    }

}

#container ul.messagelist {
    padding: 0 20px
}

#container ul.messagelist li {
    border-width: 0 0 0 4px;
    border-style: solid;
    padding: 12px;
    -webkit-box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.1);
    box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.1);
    margin: 10px 0 0;
    font-size: 13px;
    font-weight: 600
}

#container ul.messagelist li.success {
    border-color: #7ad03a
}

#container ul.messagelist li.warning {
    border-color: #ffc000
}

#container ul.messagelist li.error {
    border-color: #dd3d36
}

#container ul.messagelist li.info {
    border-color: #52accc
}

#container ul.messagelist li:first-child {
    margin-top: 20px
}

#bottombar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40px;
    z-index: 1050
}

#bottombar input[type="submit"],
#bottombar button[type="submit"],
#bottombar a.button {
    display: block;
    padding: 0 15px;
    float: left;
    margin-left: 5px;
    margin-top: 5px;
    height: 30px;
    font-size: 14px;
    font-weight: 600;
    line-height: 30px;
    border: 0;
    border-radius: 0;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    text-shadow: none;
    opacity: .8;
    cursor: pointer
}

#bottombar input[type="submit"]:hover,
#bottombar button[type="submit"]:hover,
#bottombar a.button:hover {
    opacity: 1
}

#bottombar input[type="submit"] .text,
#bottombar button[type="submit"] .text,
#bottombar a.button .text {
    margin-left: 5px
}

#bottombar input[type="submit"] .fa.fa-caret-right,
#bottombar button[type="submit"] .fa.fa-caret-right,
#bottombar a.button .fa.fa-caret-right {
    margin-left: 5px;
    margin-right: 5px;
    font-size: .8em
}

#bottombar button+.deletelink {
    margin-left: 30px
}

#bottombar.wp-narrow input,
#bottombar.wp-narrow button,
#bottombar.wp-narrow a {
    padding: 0 5px
}

#bottombar.wp-narrow input .text,
#bottombar.wp-narrow button .text,
#bottombar.wp-narrow a .text {
    display: none
}

#bottombar.wp-narrow input.deletelink,
#bottombar.wp-narrow button.deletelink,
#bottombar.wp-narrow a.deletelink {
    margin-left: 5px
}

.wp-with-left-menu #bottombar {
    left: 160px
}

.wp-with-left-menu.wp-folded #bottombar {
    left: 36px
}

.popup #bottombar {
    left: 0 !important
}

.change-list .filtered .results,
.change-list .filtered .paginator,
.filtered #toolbar,
.filtered div.xfull {
    margin-right: 0 !important
}

body.change-list #content h1 {
    float: left
}

#content .list-tools {
    float: left;
    list-style-type: none;
    margin: 0 0 3px 0;
    padding: 10px 15px 4px 0
}

#content .list-tools li {
    list-style-type: none;
    margin: 0;
    padding: 0;
    float: left
}

#content .list-tools li a {
    font-size: 13px;
    font-weight: 400;
    margin-left: 5px;
    padding: 6px 10px;
    text-decoration: none;
    border: 0;
    float: left
}

#content .list-tools li a.add-new {
    font-weight: 600
}

#content #changelist {
    background: none !important;
    border: none;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none
}

#content #changelist #toolbar {
    background: none;
    border: none;
    position: absolute;
    top: -37px;
    right: 0;
    margin: 0 !important;
    padding: 0
}

#content #changelist #toolbar #changelist-search label {
    display: none
}

#content #changelist #toolbar #changelist-search input {
    font-size: 13px
}

#content #changelist #toolbar #changelist-search #searchbar {
    padding: 4px 5px 3px;
    width: 170px;
    margin: 2px 1px 1px 0
}

#content #changelist #toolbar #changelist-search input[type=submit] {
    padding: 0 10px 1px
}

#content #changelist #toolbar #changelist-search .small {
    float: left;
    padding-top: 4px;
    padding-right: 10px
}

#content #changelist #changelist-filter {
    padding-top: 10px;
    position: static;
    width: 100%;
    background: none;
    border: 0;
    *zoom: 1
}

#content #changelist #changelist-filter:before,
#content #changelist #changelist-filter:after {
    display: table;
    content: ""
}

#content #changelist #changelist-filter:after {
    clear: both
}

#content #changelist #changelist-filter h2 {
    float: left;
    background: none;
    border: none;
    padding: 0;
    margin: 0 1em 0 0;
    font-size: inherit;
    line-height: inherit;
    font-family: inherit;
    color: inherit;
    font-weight: bold;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none
}

#content #changelist #changelist-filter .filter {
    position: relative;
    float: left;
    padding-bottom: 10px
}

#content #changelist #changelist-filter .filter h3 {
    float: left;
    margin: 0;
    font-weight: normal;
    padding-right: .2em;
    padding-left: .2em;
    font-size: inherit
}

#content #changelist #changelist-filter .filter h3:after {
    content: ":"
}

#content #changelist #changelist-filter .filter h3:before {
    content: "| ";
    padding-right: 1em
}

#content #changelist #changelist-filter .filter ul {
    float: left;
    margin: 0;
    padding: 6px 10px;
    list-style-type: none;
    top: -4px;
    overflow-y: auto;
    max-height: 20em
}

#content #changelist #changelist-filter .filter ul li {
    display: none;
    white-space: nowrap;
    font-size: 13px;
    list-style-type: none
}

#content #changelist #changelist-filter .filter ul li.selected {
    display: block;
    border: none;
    margin: 0;
    padding: 0
}

#content #changelist #changelist-filter .filter ul li a {
    pointer-events: none
}

#content #changelist #changelist-filter .filter ul:hover {
    z-index: 100;
    -webkit-box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.4);
    -moz-box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.4);
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.4)
}

#content #changelist #changelist-filter .filter ul:hover li {
    display: block
}

#content #changelist #changelist-filter .filter ul:hover li a {
    display: block;
    padding: 5px 0;
    pointer-events: all
}

#content #changelist .toplinks {
    border: none !important;
    background: none;
    padding-top: 5px !important
}

#content #changelist .toplinks li {
    font-weight: normal;
    font-size: 13px;
    padding: 5px 12px 5px 0
}

#content #changelist .actions-and-paginator {
    clear: both;
    *zoom: 1
}

#content #changelist .actions-and-paginator:before,
#content #changelist .actions-and-paginator:after {
    display: table;
    content: ""
}

#content #changelist .actions-and-paginator:after {
    clear: both
}

#content #changelist .actions-and-paginator .actions {
    float: left;
    margin: 0 !important;
    padding: 15px 0 10px
}

#content #changelist .actions-and-paginator .actions label {
    margin-left: 0
}

#content #changelist .actions-and-paginator .actions select {
    border-color: #dfdfdf;
    padding: 3px
}

#content #changelist .actions-and-paginator .actions select:focus {
    border-color: #aaa
}

#content #changelist .actions-and-paginator .actions .button {
    font-size: 12px;
    padding: 0 10px 1px;
    position: relative;
    top: 1px;
    margin-right: 10px
}

#content #changelist .actions-and-paginator .actions .action-counter,
#content #changelist .actions-and-paginator .actions .all {
    margin: 0 10px 0 0;
    padding: 5px 0;
    vertical-align: middle;
    white-space: nowrap
}

#content #changelist .actions-and-paginator .actions .question,
#content #changelist .actions-and-paginator .actions .clear {
    margin: 0 10px 0 0;
    padding: 5px 0;
    vertical-align: middle;
    white-space: nowrap
}

#content #changelist .actions-and-paginator .actions .clear {
    vertical-align: middle
}

#content #changelist .actions-and-paginator .actions.selected {
    background: none;
    border: none
}

#content #changelist .actions-and-paginator .paginator {
    float: right;
    background: none;
    border: none;
    padding: 13px 0 10px 0;
    font-size: 12px
}

#content #changelist .actions-and-paginator .paginator span.this-page,
#content #changelist .actions-and-paginator .paginator a {
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    border: 0;
    padding: 3px 10px !important;
    white-space: nowrap;
    display: inline-block
}

#content #changelist .actions-and-paginator .paginator span.this-page.showall,
#content #changelist .actions-and-paginator .paginator a.showall {
    margin-left: 10px;
    float: right
}

#content #changelist .actions-and-paginator .paginator span.total {
    font-style: italic;
    line-height: 28px;
    margin-left: 10px;
    display: inline-block
}

#content #changelist .actions-and-paginator.no-objects .paginator {
    float: none;
    padding-left: 0
}

#content #changelist .actions-and-paginator.no-objects .paginator span.total {
    margin-left: 2px
}

#content #changelist .actions-and-paginator.actions-and-paginator-bottom .actions {
    padding-top: 10px;
    padding-bottom: 15px
}

#content #changelist .actions-and-paginator.actions-and-paginator-bottom .paginator {
    padding-top: 8px;
    padding-bottom: 15px
}

#content #changelist #changelist-form .paginator .bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 33px;
    padding-top: 3px;
    background-color: #417690
}

#content #changelist #changelist-form .paginator .bottom-bar input {
    float: left;
    margin-left: 2em;
    -webkit-box-shadow: 0 0 2px rgba(255, 255, 255, 0.5);
    -moz-box-shadow: 0 0 2px rgba(255, 255, 255, 0.5);
    box-shadow: 0 0 2px rgba(255, 255, 255, 0.5)
}

#content #changelist .actions {
    background: none;
    margin: 0;
    border: none
}

#content #changelist table {
    border-width: 1px;
    border-style: solid;
    border-spacing: 0;
    clear: both;
    margin: 0;
    width: 100%;
    border-collapse: separate;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
    -moz-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04)
}

#content #changelist table thead th,
#content #changelist table tfoot th {
    font-weight: 400;
    font-size: 14px;
    padding: 0;
    vertical-align: middle;
    white-space: wrap;
    border-style: solid;
    border-width: 1px 0 1px 0;
    background: none
}

#content #changelist table thead th.action-checkbox-column,
#content #changelist table tfoot th.action-checkbox-column {
    width: 2.2em;
    text-align: center
}

#content #changelist table thead th.sortable,
#content #changelist table tfoot th.sortable {
    background: none
}

#content #changelist table thead th.sortable .text a,
#content #changelist table tfoot th.sortable .text a {
    cursor: pointer;
    display: inline-block;
    padding: 8px 10px;
    line-height: 19px
}

#content #changelist table thead th .text span,
#content #changelist table tfoot th .text span {
    display: inline-block;
    padding: 8px 10px;
    line-height: 19px
}

#content #changelist table thead th.sorted .text,
#content #changelist table tfoot th.sorted .text {
    float: left;
    padding-right: 0
}

#content #changelist table thead th.sorted .sortoptions,
#content #changelist table tfoot th.sorted .sortoptions {
    display: block;
    float: left;
    padding: 11px 0 0;
    text-align: right;
    opacity: .4
}

#content #changelist table thead th.sorted .sortoptions a,
#content #changelist table tfoot th.sorted .sortoptions a {
    float: left;
    display: block;
    height: 14px;
    width: 14px;
    background: none;
    text-align: center;
    font-size: 14px;
    line-height: 14px
}

#content #changelist table thead th.sorted .sortoptions a:after,
#content #changelist table tfoot th.sorted .sortoptions a:after {
    font-family: FontAwesome;
    font-style: normal;
    font-weight: normal;
    line-height: 14px;
    font-size: 14px
}

#content #changelist table thead th.sorted .sortoptions a.sortremove,
#content #changelist table tfoot th.sorted .sortoptions a.sortremove {
    visibility: hidden
}

#content #changelist table thead th.sorted .sortoptions a.sortremove:after,
#content #changelist table tfoot th.sorted .sortoptions a.sortremove:after {
    content: "\f00d";
    position: relative;
    top: -1px
}

#content #changelist table thead th.sorted .sortoptions a.ascending:after,
#content #changelist table tfoot th.sorted .sortoptions a.ascending:after {
    content: "\f0dd";
    position: relative;
    top: -3px
}

#content #changelist table thead th.sorted .sortoptions a.descending:after,
#content #changelist table tfoot th.sorted .sortoptions a.descending:after {
    content: "\f0de";
    position: relative;
    top: 3px
}

#content #changelist table thead th.sorted .sortoptions:hover,
#content #changelist table tfoot th.sorted .sortoptions:hover {
    opacity: 1
}

#content #changelist table thead th.sorted .sortoptions .sortpriority,
#content #changelist table tfoot th.sorted .sortoptions .sortpriority {
    float: left;
    display: block;
    height: 14px;
    width: 14px;
    line-height: 14px;
    font-size: .8em;
    text-align: center
}

#content #changelist table thead th.sorted:hover .sortoptions a.sortremove,
#content #changelist table tfoot th.sorted:hover .sortoptions a.sortremove {
    visibility: visible
}

#content #changelist table tbody th a {
    font-size: 14px
}

#content #changelist table tbody td:first-child,
#content #changelist table tbody th:first-child {
    border: none
}

@media screen and (max-width: 600px) {
    #content #changelist #toolbar {
        position: static;
        margin-bottom: 5px !important
    }

}

body.change-form #content-main {
    margin-top: 10px
}

#content .object-tools {
    font-size: inherit;
    margin: -45px 0 0;
    font-weight: 400;
    font-family: inherit
}

#content .object-tools li {
    background: none;
    height: auto;
    padding: 0;
    font-size: inherit
}

#content .object-tools li a {
    height: auto;
    padding: 6px 12px;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0
}

#content .module {
    -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
    -moz-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
    border-width: 1px;
    border-style: solid;
    margin-bottom: 20px
}

#content .module ul.radiolist {
    margin-left: 10em
}

#content .module.wide ul.radiolist {
    margin-left: 16em
}

#content .module h2,
#content .module caption,
#content .inline-group h2 {
    font-size: 14px;
    line-height: 1.4;
    font-weight: 600;
    margin: 0;
    padding: 8px 12px;
    border-width: 0 0 1px 0;
    border-style: solid
}

#content .module.collapsed h2 {
    border-bottom-width: 0
}

#content label {
    font-size: 13px;
    width: 10em
}

#content .actions label {
    width: unset;
}

#content .form-row {
    border-width: 0 0 1px 0;
    border-style: dashed;
    padding: 0 12px 8px
}

#content .form-row:last-of-type {
    border-bottom: none
}

#content .form-row > div {
    margin-top: 8px
}

#content .inline-group {
    border-width: 1px;
    border-style: solid;
    margin: 0 0 20px;
    -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
    -moz-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04)
}

#content .inline-group h3 {
    color: inherit;
    padding: 4px 12px;
    background: none;
    font-size: 12px
}

#content .inline-group fieldset {
    margin: 0;
    border: 0;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none
}

#content .inline-group fieldset .form-row:last-of-type {
    border-style: solid;
    border-width: 0 0 1px 0
}

#content .inline-group table {
    border: 0
}

#content .inline-group table tbody tr.row1,
#content .inline-group table tbody tr.row2 {
    background: none
}

#content .inline-group div.add-row,
#content .inline-group .tabular tr.add-row td {
    background: none
}

#content .inline-group .tabular tr.add-row td {
    border-width: 1px 0 0;
    border-style: solid
}

#content .inline-group ul.tools a.add,
#content .inline-group div.add-row a,
#content .inline-group .tabular tr.add-row td a {
    background: none;
    padding: 0;
    font-size: 13px
}

#content .inline-group ul.tools a.add:before,
#content .inline-group div.add-row a:before,
#content .inline-group .tabular tr.add-row td a:before {
    content: "\f067";
    font-family: FontAwesome;
    font-size: 14px;
    margin-right: .2em;
    position: relative;
    top: 1px
}

#content .inline-group .tabular {
    overflow-y: hidden
}

#content .inline-group .tabular tr.has_original td {
    padding-top: 2.2em
}

#content .inline-group .tabular tr.has_original td.original {
    padding: 2px 0 0
}

#content .inline-group .tabular tr.has_original td.original p {
    height: 1.5em;
    font-size: 12px;
    padding-left: 10px
}

#content .help,
#content p.help,
#content .timezonewarning {
    font-size: 11px !important;
    line-height: 15px !important;
    margin-left: 0;
    padding-left: 20px !important;
    padding-top: 2px !important;
    position: relative;
    clear: both
}

#content .help:before,
#content p.help:before,
#content .timezonewarning:before {
    display: inline-block;
    font-family: FontAwesome;
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    content: "\f05a";
    font-size: 14px;
    opacity: .3;
    position: absolute;
    top: 3px;
    left: 3px
}

#content .timezonewarning:before {
    content: "\f06a"
}

#content img.help-tooltip {
    cursor: help;
    padding: 0 !important
}

#content img.help-tooltip:before {
    content: ""
}

#content .description {
    padding: 5px 12px;
    border-style: dashed;
    border-width: 0 0 1px 0
}

#content .add-another {
    text-align: center
}

#content .add-another img {
    display: none
}

#content .add-another:after {
    content: "\f067";
    font-family: FontAwesome;
    font-size: 14px;
    position: relative;
    top: 2px
}

#content .related-lookup {
    text-align: center
}

#content .related-lookup img {
    display: none
}

#content .related-lookup:after {
    content: "\f002";
    font-family: FontAwesome;
    font-size: 14px;
    position: relative;
    top: 2px
}

#content .module > p:first-child {
    margin-top: .8em
}

@media screen and (max-width: 600px) {
    body.change-form #content #content-main .object-tools {
        margin: -10px 0 15px
    }

    body.change-form #content #content-main > form {
        clear: both
    }

}

body.dashboard #content {
    width: auto;
    margin-right: 20px !important
}

body.dashboard #content #content-main {
    margin-right: 20px;
    max-width: 500px;
    clear: left
}

body.dashboard #content #content-main table tr th,
body.dashboard #content #content-main table tr td {
    border-width: 0 0 1px 0;
    border-style: dashed
}

body.dashboard #content #content-main table tr:last-child th,
body.dashboard #content #content-main table tr:last-child td {
    border-bottom: none
}

body.dashboard #content #content-related {
    float: left;
    width: 284px;
    margin-right: 0;
    background: unset;
}

body.dashboard #content #content-related .actionlist .deletelink {
    background: none;
    padding-left: 0
}

body.dashboard #content #content-related .actionlist .deletelink:before {
    content: "\f00d";
    font-family: FontAwesome;
    font-size: 14px;
    margin-right: .2em;
    position: relative;
    top: 1px
}

body.dashboard #content .addlink {
    padding-left: 0;
    background: none
}

body.dashboard #content .addlink:before {
    content: "\f067";
    font-family: FontAwesome;
    font-size: 14px;
    margin-right: .2em;
    position: relative;
    top: 1px
}

body.dashboard #content .changelink {
    padding-left: 0;
    background: none
}

body.dashboard #content .changelink:before {
    content: "\f044";
    font-family: FontAwesome;
    font-size: 14px;
    margin-right: .2em;
    position: relative;
    top: 1px
}

body.login #wrapper {
    overflow: hidden
}

body.login #container {
    background: none;
    border: none;
    padding-bottom: 100px
}

body.login #container #content {
    margin: 0;
    padding: 0
}

body.login #container #content form {
    margin: 0
}

body.login #container #content form .form-row {
    padding: 0 12px 8px;
    float: none;
    width: auto;
    overflow: hidden
}

body.login #container #content form .form-row .errorlist li:last-of-type {
    margin-bottom: 0
}

body.login #container #content form .form-row label.required {
    font-weight: bold
}

body.login #container #content form .form-row #id_username,
body.login #container #content form .form-row #id_password {
    width: 100%;
    max-width: none
}

body.login #container #content .password-reset-link {
    text-align: left;
    padding: 5px 12px
}

body.login.wp-with-left-menu #container {
    margin-left: auto;
    width: 28em;
    position: relative;
    left: 80px
}

body.login.wp-with-left-menu.wp-folded #container {
    left: 18px
}

@media screen and (max-width: 500px) {
    body.login #container {
        width: 23em
    }

    body.login #container .submit-row {
        padding-left: 7em
    }

}

body.wp-no-breadcrumbs .breadcrumbs {
    display: none !important
}

a,
button,
input[type="submit"] {
    outline: none
}

#content {
    margin: 0 20px;
    padding: 10px 0 50px
}

#content li,
#content dt,
#content dd {
    font-size: 13px;
    line-height: 15px
}

#content h1 {
    font-size: 23px;
    line-height: 29px;
    padding: 9px 10px 4px 0;
    margin: 0 0 3px 0;
    font-weight: 400
}

#content table td,
#content table th {
    font-family: inherit;
    font-size: 13px;
    line-height: 20px;
    padding: 8px 10px
}

#content table thead th,
#content table thead td,
#content table tfoot th,
#content table tfoot td {
    background: none;
    border-style: solid;
    font-size: 14px;
    font-weight: 400
}

#content table thead th,
#content table thead td {
    border-width: 0 0 1px 0
}

#content table tfoot th,
#content table tfoot td {
    border-width: 1px 0 0 0
}

#content table tbody th,
#content table tbody td {
    border: none
}
